﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Models.VModels
{
    public class V_Search
    {
        public int IsArtOrUser { get; set; }

        public object Outcome { get; set; }
    }

    /// <summary>
    /// 这个是父类[禁止使用]
    /// </summary>
    public class V_SearchParent { }

    /// <summary>
    /// 搜索用户
    /// </summary>
    public class V_SearchUser : V_SearchParent
    {
        public int UserId { get; set; }

        public string NickName { get; set; }

        public string Avatar { get; set; }

        public int Level { get; set; }

        public bool IsPay { get; set; }

        public long PayCount { get; set; }

        public long _PayCount { get; set; }
    }

    /// <summary>
    /// 搜索文章
    /// </summary>
    public class V_SearchArticle : V_SearchParent
    {
        public int ArticleId { get; set; }

        public string UserName { get; set; }

        public string Time { get; set; }

        public string Title { get; set; }

        public string Context { get; set; }

        public string Classification { get; set; }

        public long LikeCount { get; set; }

        public long CommentCount { get; set; }

        public bool IsLike { get; set; }
    }
}
